package com.example.demo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * student 实体类
 */

@Data
public class Student {
    @TableId(type = IdType.AUTO)
    private int id;
    private String username;
    private String password;
    private String sex;
    @Version
    private int version;
}
